package com.qf.pojo;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author 千锋教育
 * @Company http://www.mobiletrain.org/
 * @Version 1.0
 */
@ConfigurationProperties(prefix ="user")
@Data
@Component
public class User {
    private String username;
    private int age;
}
